package com.ysstech.reportworld.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

import static org.apache.ibatis.type.JdbcType.INTEGER;

/**
 * <p>
 *
 * </p>
 *
 * @author lishuangliang
 * @since 2022-04-27
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("rw_db_tp_gl_exhib_datadict")
public class TpGlExhibDatadict extends Model<TpGlExhibDatadict> {

    /**
     * 主键
     */
    @TableId(value = "ID")
    @TableField(value = "ID", condition = "主键")
    private String id;

    /**
     * 分类代码
     */
    @TableField(value = "CLASS_ID", condition = "分类代码")
    private String classId;

    /**
     * 分类名称
     */
    @TableField(value = "CLASS_NAME", condition = "分类名称")
    private String className;

    /**
     * 分类英文名
     */
    @TableField(value = "CLASS_ENAME", condition = "分类英文名")
    private String classEname;

    /**
     * 键值代码
     */
    @TableField(value = "KEY_ID", condition = "键值代码")
    private String keyId;

    /**
     * 键值名称
     */
    @TableField(value = "KEY_NAME", condition = "键值名称")
    private String keyName;

    /**
     * 英文名称
     */
    @TableField(value = "KEY_ENAME", condition = "英文名称")
    private String keyEname;

    /**
     * 是否有效 |0有效|1无效
     */
    @TableField(value = "OR_VALID_D", condition = "是否有效")
    private String orValidD;

    /**
     * 备注说明
     */
    @TableField(value = "MEMO")
    private String memo;

    /**
     * 时间标识
     */
    @TableField(value = "TIME_MARK")
    private LocalDateTime timeMark;

    /**
     * 是否启用（状态）|0锁定|1启用
     */
    @TableField(value = "STA", condition = "是否启用")
    private String sta;

    /**
     * 顺序
     */
    @TableField(value = "KEY_SEQ", condition = "顺序", jdbcType = INTEGER)
    private String keySeq;

    /**
     * 创建人
     */
    @TableField(value = "CREATE_PRSN")
    private String createPrsn;

    /**
     * 创建时间
     */
    @TableField(value = "CREATE_TIME")
    private LocalDateTime createTime;

    /**
     * 更新人
     */
    @TableField(value = "UPDATE_PRSN")
    private String updatePrsn;

    /**
     * 更新时间
     */
    @TableField(value = "UPDATE_TIME")
    private LocalDateTime updateTime;

    /**
     * 是否已删除：0 否， 1 是
     */
    @TableField(value = "FDELETE_ID")
    private String fdeleteId;


}
